package luj.groovy.excel.internal.excel.read

import org.apache.poi.openxml4j.opc.OPCPackage
import org.apache.poi.openxml4j.opc.PackageAccess
import org.apache.poi.xssf.usermodel.XSSFWorkbook

class ExcelReadOpener {

  XSSFWorkbook openXlsx(String path) {
    return new XSSFWorkbook(OPCPackage.open(path, PackageAccess.READ))
  }
}
